Scheduled scripts tests (ubuntu) #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scheduled scripts tests (ubuntu) | |
on: | |
schedule: | |
- cron: "0 0 * * 3" # Run every Wednesday at 12:00 AM UTC | |
workflow_dispatch: | |
jobs: | |
test-scripts-ubuntu: | |
uses: ./.github/workflows/test-scripts.yml | |
with: | |
os: ubuntu-latest | |
secrets: | |
NEPTUNE_API_TOKEN: ${{ secrets.NEPTUNE_API_TOKEN }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
test-docker-example: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build docker container from Dockerfile | |
run: docker build -f how-to-guides/neptune-docker/scripts/Dockerfile --tag neptune-docker . | |
- name: run docker container | |
run: docker run -e NEPTUNE_API_TOKEN=${{ secrets.NEPTUNE_API_TOKEN }} neptune-docker |