MySQL test #26
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.6' | |
- '1' # automatically expands to the latest stable 1.x release of Julia | |
- nightly | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
arch: | |
- x64 | |
include: | |
- os: windows-latest | |
version: '1' | |
arch: x86 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: actions/cache@v1 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: lcov.info | |
job1: | |
## The type of runner that the job will run on, | |
## here it runs on ubuntu latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: step 1 | |
## Reference your environment variables | |
run: echo "The mysqlport is:${{secrets.MYSQL_PORT}}mysqluser:${{secrets.MYSQL_USER}} | |
mysqlhost:${{secrets.MYSQL_HOST}} | |
mysqlpassword:${{secrets.MYSQL_PASSWORD}} | |
postgresuser:${{secrets.POSTGRES_USER}} | |
postgreshost:${{secrets.POSTGRES_HOST}} | |
postgresport:${{secrets.POSTGRES_PORT}} | |
postgrespassword:${{secrets.POSTGRES_PASSWORD}}" | |
job2: | |
runs-on: ubuntu-latest | |
steps: | |
- name: step 1 | |
## Another way reference your environment variables | |
run: echo "The mysqlport is:${{secrets.MYSQL_PORT}}mysqluser:${{secrets.MYSQL_USER}} | |
mysqlhost:${{secrets.MYSQL_HOST}} | |
mysqlpassword:${{secrets.MYSQL_PASSWORD}} | |
postgresuser:${{secrets.POSTGRES_USER}} | |
postgreshost:${{secrets.POSTGRES_HOST}} | |
postgresport:${{secrets.POSTGRES_PORT}} | |
postgrespassword:${{secrets.POSTGRES_PASSWORD}}" | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/julia-buildpkg@latest | |
- uses: julia-actions/julia-docdeploy@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | |